package com.wbxqy.car_management_system.mapper;

import com.wbxqy.car_management_system.entity.CarRequest;
import com.wbxqy.car_management_system.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author wbxqy
 * @since 2024-07-04
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("SELECT car_id_wbxqy FROM t_user_wbxqy WHERE status_wbxqy = 'O' or status_wbxqy = 'I'")
    List<Integer> getOutCarIds();
}
